<%@ page language="java" contentType="text/html;charset=UTF-8" %><%@ include file="./inc/global.jsp" %>
<!doctype html>
<html>
<head>
<title>${adminGlobalConfig.name}</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link type="text/css" rel="stylesheet" href="/static/style.css" media="all" />
<link type="text/css" rel="stylesheet" href="/static/jquery.autocomplete.css" media="all" />
<link type="text/css" rel="stylesheet" href="/static/jquery-ui-1.8.16.custom.css" media="all" />
<link type="text/css" rel="stylesheet" href="/static/tip-yellow/tip-yellow.css" media="all" />
<link type="text/css" rel="stylesheet" href="/static/tip-yellowsimple/tip-yellowsimple.css" media="all" />
<script type="text/javascript" src="/static/jquery-1.9.1.min.js" ></script>
<script type="text/javascript" src="/static/jquery-migrate-1.1.1.js" ></script>
<script type="text/javascript" src=/static/jquery-ui-1.8.16.custom.min.js ></script>
<script type="text/javascript" src="/static/jquery.autocomplete.js" ></script>
<script type="text/javascript" src=/static/jquery.poshytip.js ></script>
<script type="text/javascript" src="/static/f.js" ></script>
<style type="text/css">
.main {margin:11px auto; padding:11px 0px; backgroud:#666666; width:99%; text-align:center;}
ul li {
	display:inline-block;
	margin:3px 1px;	
	background:#666;
}
ul li a {
	display:block; padding:21px 30px;
	font-size:18px;
	font-weight:bold;
	color:#fff;
}
ul li a, ul li a:link, ul li a:visited {color:#fff;}
</style>
<script type="text/javascript">
$(function(){
	var colors = ["#ff6600","#006600","#000099"
	              ,"#FF6347","#008800","#1D2E60"
	              , "#7692b9", "#ffa628", "#ffa628"
	              , "#F4A460"
	              , "#EE7600"
	              , "#FF3E96"
	              , "#B23AEE"
	              , "#6B8E23"
	              , "#3A5FCD"
	              , "#104E8B"
	              , "#8B0A50"
	              , "#8B814C"
	              , "#912CEE"
	              , "#CD3278"
	              , "#CD661D"
	              , "#C71585"
	              , "#B03060"
	              , "#EE3A8C"
	              , "#FA8072"
	       ]; 
	$('ul').find('li').each(function(){
		var rand = Math.floor(Math.random()*colors.length); 
		$(this).css("background-color", colors[rand]);
	});
});
</script>
</head>
<body>
<div class="main">
<ul>
<c:if test="${SELL_MODIFY}">
<li><a href="/a/sell/form">添加销售</a></li>
</c:if>
<c:if test="${SELL_VIEW}">
<li><a href="/a/sell/list">销售记录</a></li>
</c:if>
<c:if test="${STORE_MODIFY}">
<li><a href="/a/store/form">添加库存</a></li>
</c:if>
<c:if test="${STORE_VIEW}">
<li><a href="/a/store/list">库存记录</a></li>
</c:if>
<c:if test="${STORE_BACKTRACK}">
<li><a href="/a/store/backtrack">退货管理</a></li>
</c:if>
<c:if test="${STORE_DISPATCH}">
<li><a href="/a/store/dispatch">货物调度</a></li>
</c:if>
<c:if test="${STORE_MODIFY}">
<li><a href="/a/store/house">库房管理</a></li>
</c:if>
<c:if test="${CUSTOMER_MODIFY}">
<li><a href="/a/customer/list">客户管理</a></li>
</c:if>
<c:if test="${BRAND_VIEW&&CATEGORY_VIEW}">
<li><a href="/a/brand-category/list">品牌分类</a></li>
</c:if>
<c:if test="${GOODS_MODIFY}">
<li><a href="/a/goods/list">商品型号</a></li>
</c:if>
<c:if test="${GOODS_MODIFY}">
<li><a href="/a/search/index">搜索管理</a></li>
</c:if>
<c:if test="${IN_OUT_VIEW}">
<li><a href="/a/in-out/list">流水记录</a></li>
</c:if>
<c:if test="${STAT_VIEW}">
<li><a href="/a/stat">统计分析</a></li>
<li><a href="/a/stat/month">销量统计</a></li>
<li><a href="/a/stat/store">库存统计</a></li>
</c:if>
<li><a href="/a/login">登录到系统</a></li>
</ul>
</div>
</body>
</html>